package com.kyivmohyla.kma2.shared.model;

import java.io.Serializable;
import java.util.Date;

public class UIHistory implements Serializable {
    private static final long serialVersionUID = 1L;
    private int historyId;
    private int newState;
    private Date changeDate;
    private String commentary;
    private int orderId;
    private int staffId;
    private String newStateName;
    private String staffName;

    public int getHistoryId() {
        return historyId;
    }

    public void setHistoryId(int historyId) {
        this.historyId = historyId;
    }

    public int getNewState() {
        return newState;
    }

    public void setNewState(int newState) {
        this.newState = newState;
    }

    public Date getChangeDate() {
        return changeDate;
    }

    public void setChangeDate(Date changeDate) {
        this.changeDate = changeDate;
    }

    public String getCommentary() {
        return commentary;
    }

    public void setCommentary(String commentary) {
        this.commentary = commentary;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public int getStaffId() {
        return staffId;
    }

    public void setStaffId(int staffId) {
        this.staffId = staffId;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getNewStateName() {
        return newStateName;
    }

    public void setNewStateName(String newStateName) {
        this.newStateName = newStateName;
    }

    @Override
    public String toString() {
        return "History(historyId = " + historyId + ", newState = " + newState + ", changeDate = " + changeDate + ", commentary = " + commentary + ", orderId = " + orderId + ", staffId = " + staffId + ")";
    }
}
